package org.springframework.beans.factory;

public interface BeanFactory {

    String FACTORY_BEAN_PREFIX = "&";
    int AUTOWIRE_NO = 0;
    int AUTOWIRE_BY_NAME = 1;
    int AUTOWIRE_BY_TYPE = 2;
    int AUTOWIRE_CONSTRUCTOR = 3;

    Object getBean(String beanName) throws Exception;

    String[] getBeanDefinitionNames();

    boolean containsBean(String beanName);
}
